/*
//声明变量
let age;
//赋值
age = 10;
age = 80;
age = 60;
*/
// 初始化
// let age = 50;
let name = "旗木卡卡西";
let address = "火影村";
let age = 30;
let email = "kakaxi@itcat.com";
let sal = 2000;
//打印变量的格式只能在console.log中使用
console.log("我叫", name, "，我住在", address, "，我今年", age, "岁了，我的邮箱是", email, "，我的工资", sal);
/*模板语法 变量 ${varName}*/
console.log(`我叫${name}，我住在${address}，我今年${age}岁了，我的邮箱是${email}，我的工资是${sal}`);
alert(`我叫${name}，我住在${address}，我今年${age}岁了，我的邮箱是${email}，我的工资是${sal}`);